#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>


//#define PIECE_SIZE 48
#define MAX_FILENAME 30


/********************************** Static functions *****************************************/

void init_file(char * file_name, int file_size);

int split_file(const char * file_name, size_t piece_number, char * buffer);

void recompose_file(const char * written_file_name, size_t piece_number, char * buffer, size_t bytes_read);
